DAT210x - Programming with Python for DS

Module2 - Lab2


In [ ]:
# Import and alias Pandas
import pandas as pd

Write code below to load up the tutorial.csv dataset. You can store it into a variable called df:


In [ ]:
# .. your code here ..

Now that your dataset has been loaded, invoke the .describe() method to display some results about it:


In [ ]:
# .. your code here ..

Lastly, try experimenting with indexing. Figure out which indexing method you would need to use in order to index your dataframe with: [2:4, 'col3']. Finally, display the results:


In [ ]:
# .. your code here ..